Eli Zaretskii [Fri, 5 Nov 2010 21:47:58 +0000 (23:47 +0200)]
Cleanup -Wall warnings.
xdisp.c (get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
part. Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
(null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only part.
Eli Zaretskii [Fri, 5 Nov 2010 18:07:42 +0000 (20:07 +0200)]
Fix unified mouse highlight after compiling on Unix.
xdisp.c (x_consider_frame_title, tool_bar_lines_needed): Move
prototypes to HAVE_WINDOW_SYSTEM-only part.
frame.h (MOUSE_HL_INFO): Fix definition to work both for
TTY-only and GUI builds.
Eli Zaretskii [Fri, 5 Nov 2010 12:11:22 +0000 (14:11 +0200)]
Fix mouse redesigned mouse highlight on MSDOS.
dispnew.c (init_display): Setup initial frame's output_data for
text terminal frames.
frame.h (MOUSE_HL_INFO): Fix TTY definition.
msdos.h (initialize_msdos_display): Add prototype.
Eli Zaretskii [Fri, 5 Nov 2010 10:03:17 +0000 (12:03 +0200)]
Cleanup fallout from redesigning mouse highlight.
dispextern.h (tty_draw_row_with_mouse_face): Add prototype.
xdisp.c (draw_row_with_mouse_face): Don't #ifdef away on MSDOS.
Call tty_draw_row_with_mouse_face on MSDOS as well.
msdos.c (tty_draw_row_with_mouse_face): Renamed from
draw_row_with_mouse_face. Make the argument list identical to the
GPM implementation.
msdos.h (Display_Info): Restore typedef.
Eli Zaretskii [Tue, 2 Nov 2010 19:35:12 +0000 (21:35 +0200)]
Reflect mouse-highlight redesign in term.c
term.c: Remove static mouse_face_* variables. All users changed.
(term_show_mouse_face, term_clear_mouse_face)
(fast_find_position, term_mouse_highlight): Functions deleted.
(tty_draw_row_with_mouse_face): New function.
(term_mouse_movement): Call note_mouse_highlight instead of
term_mouse_highlight.
Eli Zaretskii [Mon, 1 Nov 2010 20:19:17 +0000 (22:19 +0200)]
REALLY finish coding portable mouse highlight.
msdos.c (dos_set_window_size, draw_row_with_mouse_face)
(IT_update_begin, IT_update_end, IT_frame_up_to_date)
(internal_terminal_init, dos_rawgetc): Replace Display_Info with
Mouse_HLInfo everywhere where mouse_face_* members were accessed
for mouse highlight purposes.
Eli Zaretskii [Mon, 1 Nov 2010 20:09:03 +0000 (22:09 +0200)]
Finish coding mouse highlight redesigned for portability.
Not compiled yet.
nsterm.m (ns_update_window_begin, ns_update_window_end)
(ns_update_end, x_destroy_window, ns_frame_up_to_date)
(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
(ns_dumpglyphs_image, ns_dumpglyphs_stretch)
(ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
Replace Display_Info with Mouse_HLInfo everywhere where
mouse_face_* members were accessed for mouse highlight purposes.
xterm.c (x_update_window_begin, x_update_window_end)
(x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
(handle_one_xevent, x_free_frame_resources, x_term_init): Replace
Display_Info with Mouse_HLInfo everywhere where mouse_face_*
members were accessed for mouse highlight purposes.
w32term.c (x_update_window_begin, x_update_window_end)
(x_update_end, w32_read_socket, x_free_frame_resources)
(w32_initialize_display_info): Replace Display_Info with
Mouse_HLInfo everywhere where mouse_face_* members were accessed
for mouse highlight purposes.
xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
(note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
unless the frame is on a window-system.
Eli Zaretskii [Sun, 31 Oct 2010 18:50:02 +0000 (20:50 +0200)]
Start redesigning portable mouse highlight. Not compiled.
xdisp.c (get_tool_bar_item, handle_tool_bar_click)
(note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
(note_mode_line_or_margin_highlight, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
Replace Display_Info with Mouse_HLInfo everywhere where
mouse_face_* members were accessed for mouse highlight purposes.
frame.h (MOUSE_HL_INFO): New macro.
lisp.h (Mouse_HLInfo): New data type.
xterm.h (struct x_display_info):
w32term.h (struct w32_display_info):
nsterm.h (struct ns_display_info):
termchar.h (struct tty_display_info): Use it instead of
mouse_face_* members.
dispextern.h (DPYINFO_DEFINED): Remove definition.
(FRAME_X_DISPLAY_INFO): Remove definition.
(show_mouse_face, clear_mouse_face): Update type of 1st argument.
Eli Zaretskii [Sat, 30 Oct 2010 13:09:52 +0000 (15:09 +0200)]
Unify mouse highlight code of MSDOS and GUI sessions.
xdisp.c (coords_in_mouse_face_p): Move prototype out of the
HAVE_WINDOW_SYSTEM conditional.
(x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
HAVE_WINDOW_SYSTEM block.
(try_window_id) [HAVE_GPM || MSDOS]: Call
x_clear_window_mouse_face.
(draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
systems.
(show_mouse_face): Call it, instead of calling draw_glyphs directly.
(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
(cursor_in_mouse_face_p, rows_from_pos_range)
(mouse_face_from_buffer_pos, mouse_face_from_string_pos)
(note_mode_line_or_margin_highlight, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face): Move out of the
HAVE_WINDOW_SYSTEM block. Ifdef away window-system specific
fragments.
(note_mouse_highlight): Call popup_activated for MSDOS as well.
Clear mouse highlight if pointer is over glyphs whose OBJECT is an
integer.
(mouse_face_from_buffer_pos): Add parentheses around && within ||.
xmenu.c (popup_activated): Don't define on MSDOS.
dispnew.c (mirror_make_current): Set Y coordinate of the
mode-line and header-line rows.
termchar.h (struct tty_display_info): Define mouse_face_*
members not only for MSDOS. Delete stray whitespace.
<mouse_face_beg_x, mouse_face_beg_y, mouse_face_overlay>: New
struct members.
dispextern.h (DPYINFO_DEFINED) [HAVE_X_WINDOWS]: Define.
(DPYINFO_DEFINED) [HAVE_NTGUI]: Define.
(DPYINFO_DEFINED) [HAVE_NS]: Define.
(Display_Info) [!DPYINFO_DEFINED]: Define here.
(FRAME_X_DISPLAY_INFO) [HAVE_GPM]: Define.
(FRAME_X_DISPLAY_INFO): Define to NULL if not defined.
(frame_to_window_pixel_xy, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
(show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
HAVE_WINDOW_SYSTEM conditional.
(draw_row_with_mouse_face): Declare prototype.
msdos.h (Display_Info): Don't define here.
msdos.c (show_mouse_face, clear_mouse_face)
(fast_find_position, IT_note_mode_line_highlight)
(IT_note_mouse_highlight): Functions deleted.
(IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
instead of IT_note_mouse_highlight.
(draw_row_with_mouse_face, popup_activated): New functions.
Eli Zaretskii [Fri, 29 Oct 2010 10:49:27 +0000 (12:49 +0200)]
Fix doc/misc/makefile.w32.in like 2010-10-28T07:21:43Z!rgm@gnu.org did with Makefile.in.
makefile.w32-in (MAKEINFO): Add -I$(emacsdir).
(ENVADD): Remove extra -I$(emacsdir), included in $(MAKEINFO).
($(infodir)/efaq): Remove -I$(emacsdir), included in $(MAKEINFO).
($(infodir)/calc, calc.dvi): Depend on $(emacsdir)/emacsver.texi.
Eli Zaretskii [Fri, 29 Oct 2010 10:43:38 +0000 (12:43 +0200)]
Fix 2010-10-29T06:51:36Z!rgm@gnu.org for non-CLASH_DETECTION platforms.
emacs.c (main): Call syms_of_filelock unconditionally.
filelock.c (syms_of_filelock): Move out of #ifdef CLASH_DETECTION
clause, but keep part of it conditioned on CLASH_DETECTION.
Katsumi Yamaoka [Fri, 29 Oct 2010 07:22:52 +0000 (07:22 +0000)]
gnus-art.el (gnus-article-goto-part): Fix last change.
Katsumi Yamaoka [Fri, 29 Oct 2010 07:13:33 +0000 (07:13 +0000)]
gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
Glenn Morris [Fri, 29 Oct 2010 07:04:09 +0000 (00:04 -0700)]
Sync docs of some X, W32, NS C functions.
* src/nsfns.m (Fx-display-save-under, Fx-open-connection)
(Fxw-color-defined-p, Fxw-display-color-p, Fx-show-tip):
* src/w32fns.c (Fxw_color_defined_p, Fx_open_connection):
* src/xfns.c (Fxw_color_defined_p, Fx_open_connection):
Sync docs between X, W32, NS.
Glenn Morris [Fri, 29 Oct 2010 06:51:36 +0000 (23:51 -0700)]
Remove duplicate Lisp definition of temporary-file-directory, from filelock.c.
* lisp/files.el (temporary-file-directory): Remove (already defined in C).
* lisp/cus-start.el: Add temporary-file-directory.
Glenn Morris [Fri, 29 Oct 2010 03:29:29 +0000 (20:29 -0700)]
Remove duplicate Lisp definitions of define-minor-mode variables defined in C.
* lisp/abbrev.el (abbrev-mode):
* lisp/composite.el (auto-composition-mode):
* lisp/menu-bar.el (menu-bar-mode):
* lisp/simple.el (transient-mark-mode):
* lisp/tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
that they do not define the associated variables twice.
* lisp/simple.el (transient-mark-mode): Remove defvar.
* lisp/composite.el (auto-composition-mode): Make variable auto-buffer-local.
* lisp/cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
Handle multiple groups, and also custom-delayed-init-variables.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
* src/buffer.c (syms_of_buffer) <abbrev-mode, transient-mark-mode>:
* src/frame.c (syms_of_frame) <tool-bar-mode>: Move docs here from Lisp.
Stefan Monnier [Fri, 29 Oct 2010 01:05:38 +0000 (21:05 -0400)]
* lisp/emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
(pcase-if): Add one minor optimization.
(pcase-split-equal): Rename from pcase-split-eq.
(pcase-split-member): Rename from pcase-split-memq.
(pcase-u1): Add strings to the member optimization.
Add `guard' variant of predicates.
(pcase-q1): Add string patterns.
Lars Magne Ingebrigtsen [Thu, 28 Oct 2010 22:03:15 +0000 (22:03 +0000)]
gnus-sum.el (gnus-summary-rescan-group): Try to restore the window config after reselecting.
Stefan Monnier [Thu, 28 Oct 2010 14:36:59 +0000 (10:36 -0400)]
* lisp/vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
Julien Danjou [Thu, 28 Oct 2010 12:45:51 +0000 (12:45 +0000)]
shr.el (shr-put-image): Use point even if only inserting text; save-excursion on alt text.
Julien Danjou [Thu, 28 Oct 2010 10:41:27 +0000 (10:41 +0000)]
nnir.el (nnir-run-swish-e): Remove hyrex support.
Glenn Morris [Thu, 28 Oct 2010 07:21:43 +0000 (00:21 -0700)]
doc/Makefile fixes related to inclusion of emacsver.texi.
* doc/lispref/Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.
* doc/misc/Makefile.in (MAKEINFO, ENVADD): Add $emacsdir to include path.
(($(infodir)/calc, calc.dvi, calc.pdf): Depend on emacsver.texi.
($(infodir)/efaq): Remove -I option now in $MAKEINFO.
Glenn Morris [Thu, 28 Oct 2010 07:05:00 +0000 (00:05 -0700)]
Move ns-specific menu-bar code from term/ns-win.el to menu-bar.el.
* lisp/term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
Move menu-bar related settings to ../menu-bar.el.
* lisp/menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
Move ns-specific settings here from term/ns-win.el.
Katsumi Yamaoka [Thu, 28 Oct 2010 06:37:35 +0000 (06:37 +0000)]
gnus-art.el: Improve MIME part functions.
gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
(gnus-mime-copy-part): Check coding system, not charset.
(gnus-mime-view-part-externally): Never remove part.
(gnus-mime-view-part-internally): Don't remove part here.
(gnus-article-part-wrapper): Make sure MIME tag is visible.
(gnus-article-goto-part): Go to displayed or preferred subpart if it is multipart/alternative.
mm-decode.el (mm-display-part): Take optional arg `force'.
Glenn Morris [Thu, 28 Oct 2010 03:49:40 +0000 (20:49 -0700)]
* lisp/simple.el (x-selection-owner-p): Remove unused declaration.
Stefan Monnier [Thu, 28 Oct 2010 02:22:29 +0000 (22:22 -0400)]
* lisp/minibuffer.el (completion-cycling): New var.
(minibuffer-complete, completion--do-completion):
Use completion--flush-all-sorted-completions.
(minibuffer-complete): Only cycle if completion-cycling is set.
(completion--flush-all-sorted-completions): Unset completion-cycling.
(minibuffer-force-complete): Set completion-cycling.
(completion-all-sorted-completions): Move declaration before first use.
Fixes: debbugs:7266
Leo Liu [Thu, 28 Oct 2010 01:30:01 +0000 (21:30 -0400)]
* lisp/iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
which changes the order of matches seen by users.
Fixes: debbugs:7231
Jes Bodi Klinke [Thu, 28 Oct 2010 01:10:22 +0000 (21:10 -0400)]
* lisp/progmodes/compile.el (compilation-mode-font-lock-keywords):
Don't confuse -omega as "-o mega".
Julien Danjou [Wed, 27 Oct 2010 22:08:36 +0000 (22:08 +0000)]
gnus-group.el: Make gnus-group-default-list-level possibly a function.
Stefan Monnier [Wed, 27 Oct 2010 21:47:09 +0000 (17:47 -0400)]
* lisp/vc/log-edit.el (log-edit-rewrite-fixes): New var.
(log-edit-author): New dynamic var.
(log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
to return the author if different from committer.
(log-edit-insert-changelog): Use them to add Author: and Fixes headers.
Stefan Monnier [Wed, 27 Oct 2010 14:48:05 +0000 (10:48 -0400)]
* test/indent/octave.m: Add a test to ensure indentation is local.
Stefan Monnier [Wed, 27 Oct 2010 14:31:44 +0000 (10:31 -0400)]
* lisp/play/landmark.el: Adjust commenting convention.
(lm-nil-score): Rename from nil-score.
(Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
(OOOOscore): Move into a let in lm-score-trans-table.
(lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
Stefan Monnier [Wed, 27 Oct 2010 14:26:01 +0000 (10:26 -0400)]
* lisp/electric.el (electric-indent-chars): Autoload.
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
(ruby-mode-abbrev-table): Merge initialization and declaration.
Julien Danjou [Wed, 27 Oct 2010 08:07:41 +0000 (08:07 +0000)]
nnimap.el (nnimap-retrieve-group-data-early): Remove bad comment.
Glenn Morris [Wed, 27 Oct 2010 07:39:34 +0000 (00:39 -0700)]
* lisp/term/ns-win.el (ns-insert-file): Init in let.
(ns-find-file): Use let*.
Glenn Morris [Wed, 27 Oct 2010 06:50:28 +0000 (23:50 -0700)]
* abbrev.el (abbrev-mode): Remove one of the three definitions of this variable.
Glenn Morris [Wed, 27 Oct 2010 06:48:04 +0000 (23:48 -0700)]
ns-win.el trivia.
* term/ns-win.el: (ns-handle-nxopen): Optionally handle the temp-case.
(ns-handle-nxopentemp): Just call ns-handle-nxopen.
(ns-insert-file, ns-find-file): Use `pop'.
Glenn Morris [Wed, 27 Oct 2010 06:42:15 +0000 (23:42 -0700)]
* server.el (server-host, server-port, server-auth-dir): Autoload risky.
Katsumi Yamaoka [Wed, 27 Oct 2010 03:59:59 +0000 (03:59 +0000)]
mm-decode.el (mm-shr): Add undisplayer to MIME handle.
Glenn Morris [Wed, 27 Oct 2010 03:48:28 +0000 (20:48 -0700)]
* lisp/term/ns-win.el: Restore require of cl when compiling.
(menu-bar-final-items): Remove non-existent `windows' menu.
Katsumi Yamaoka [Wed, 27 Oct 2010 01:09:11 +0000 (01:09 +0000)]
gnus-group.el: Replace replace-regexp-in-string with gnus-replace-in-string.
Juanma Barranquero [Tue, 26 Oct 2010 22:23:09 +0000 (00:23 +0200)]
* src/eval.c (init_eval_once): Set max_lisp_eval_depth to 600.
Otherwise, bootstrapping on Windows fails to compile macroexp.el.
Katsumi Yamaoka [Tue, 26 Oct 2010 22:08:30 +0000 (22:08 +0000)]
shr.el (shr-tag-div): Added.
Eli Zaretskii [Tue, 26 Oct 2010 18:47:19 +0000 (20:47 +0200)]
cmds.c: (internal_self_insert): Don't insert for negative arguments.
Eli Zaretskii [Tue, 26 Oct 2010 18:03:34 +0000 (20:03 +0200)]
Fix bug #7281.
cmds.c (internal_self_insert): Don't insert if argument N is zero.
Glenn Morris [Tue, 26 Oct 2010 16:56:11 +0000 (09:56 -0700)]
* lisp/term/common-win.el (xw-defined-colors): Simplify the 'ns case.
Adrian Robert [Tue, 26 Oct 2010 13:20:00 +0000 (16:20 +0300)]
* term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to global map. * term/common-win.el (x-setup-function-keys): Remove most of the keymappings. Comment on the remaining ones.
Glenn Morris [Tue, 26 Oct 2010 07:42:46 +0000 (00:42 -0700)]
Mention server-port.
Glenn Morris [Tue, 26 Oct 2010 07:41:30 +0000 (00:41 -0700)]
Add ChangeLog bug ref.
Peter Oliver [Tue, 26 Oct 2010 07:40:07 +0000 (00:40 -0700)]
Add server-port option. (Bug#854)
* lisp/server.el (server-port): New option.
(server-start): Use server-port.
Glenn Morris [Tue, 26 Oct 2010 06:48:17 +0000 (23:48 -0700)]
* lisp/term/ns-win.el (ns-ignore-2-arg): Remove unused function.
(Mistakenly committed the ChangeLog for this earlier.)
Jan D [Tue, 26 Oct 2010 06:09:54 +0000 (08:09 +0200)]
* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
Glenn Morris [Tue, 26 Oct 2010 03:58:19 +0000 (20:58 -0700)]
Remove ns-handle-* functions that duplicate x-handle-*.
* lisp/term/ns-win.el (ns-version-string): Remove unused declaration.
(ns-invocation-args): Change to x-invocation-args.
(ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
(ns-handle-name-switch, ns-ignore-2-arg): Remove.
(ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
Use x-invocation-args instead of ns-invocation-args.
(ns-initialize-window-system, handle-args-function-alist):
Use x-handle-args instead of ns-handle-args.
* lisp/term/common-win.el (x-handle-args): Also handle nextstep arguments.
* lisp/startup.el (command-line-ns-option-alist): Replace
ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
ns-handle-iconic with the x- equivalents.
Glenn Morris [Tue, 26 Oct 2010 03:02:30 +0000 (20:02 -0700)]
* etc/images/README: Add (un)checked.xpm
* etc/images/checked.xpm, images/unchecked.xpm: Add copyright.
Glenn Morris [Tue, 26 Oct 2010 02:59:05 +0000 (19:59 -0700)]
Let ns load common-win.
* lisp/term/common-win.el (x-select-enable-clipboard):
* lisp/term/pc-win.el (x-select-enable-clipboard): Doc fix.
* lisp/term/ns-win.el: No need to require cl when compiling.
(x-display-name, x-setup-function-keys, x-select-text, x-colors)
(xw-defined-colors): Use the common-win definitions.
(ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
(ns-handle-iconic): Make it an alias for x-handle-iconic.
* lisp/term/common-win.el (x-select-text, x-alternatives-map)
(x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
* lisp/loadup.el [ns]: Load common-win.
Daiki Ueno [Tue, 26 Oct 2010 01:31:27 +0000 (10:31 +0900)]
Make epa-mail-encrypt expand mail aliases.
Daiki Ueno [Tue, 26 Oct 2010 01:02:08 +0000 (10:02 +0900)]
Make epa-mail-encrypt handle local-part only recipients.
* epa-mail.el (epa-mail-encrypt): Handle local-part only
recipients (Bug#7280).
Julien Danjou [Mon, 25 Oct 2010 22:02:00 +0000 (22:02 +0000)]
gnus-util.el: Remove `gnus-with-local-quit'.
gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
Andreas Schwab [Mon, 25 Oct 2010 17:23:45 +0000 (19:23 +0200)]
* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
to avoid warning.
Chong Yidong [Mon, 25 Oct 2010 16:04:54 +0000 (12:04 -0400)]
Document GTK Emacs kill on display close in PROBLEMS.
* src/xterm.c (x_connection_closed): Update comment.
Daiki Ueno [Mon, 25 Oct 2010 12:24:44 +0000 (21:24 +0900)]
Don't use the word "PGP", since it is a non-free program.
Lars Magne Ingebrigtsen [Mon, 25 Oct 2010 05:43:08 +0000 (05:43 +0000)]
gnus-sum.el (gnus-summary-select-article): Fix type error in checking the original article buffer.
Glenn Morris [Mon, 25 Oct 2010 05:39:21 +0000 (22:39 -0700)]
Simplifications for lisp/term/common-win.el
* lisp/term/common-win.el (x-handle-switch): Simplify with pop.
Optionally handle numeric switches.
(x-handle-numeric-switch): Just call x-handle-switch.
(x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
(x-handle-name-switch, x-handle-display, x-handle-args):
Simplify with pop.
Daiki Ueno [Mon, 25 Oct 2010 03:06:35 +0000 (12:06 +0900)]
Add alternative key bindings for epa-mail commands.
* epa.texi (Mail-mode integration): Add alternative key bindings
for epa-mail commands; escape comma.
Glenn Morris [Mon, 25 Oct 2010 00:48:26 +0000 (17:48 -0700)]
Move ns-win.el's rather wacky menu adjustments to menu-bar.el.
* lisp/term/ns-win.el: Do not require easymenu.
(menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
<spell>: Move adjustments to menu-bar.el.
* lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
<separator-undo, spell>: Move ns-win's adjustments here.
* lisp/loadup.el [ns]: Do not load easymenu.
* src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
* lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
Juanma Barranquero [Mon, 25 Oct 2010 00:04:44 +0000 (02:04 +0200)]
Fix some ChangeLog entries.
Chong Yidong [Sun, 24 Oct 2010 23:40:55 +0000 (19:40 -0400)]
Avoid inline image variables for checkboxes (Bug#7222).
* etc/images/checked.xpm:
* etc/images/unchecked.xpm: New images.
* image.el (image-checkbox-checked, image-checkbox-unchecked):
Deleted (Bug#7222).
* startup.el (fancy-startup-tail): Instead of using inline images,
refer to image files from etc/.
* wid-edit.el (checkbox): Likewise.
(widget-image-find): Center image specs.
Glenn Morris [Sun, 24 Oct 2010 22:45:10 +0000 (15:45 -0700)]
Sync docs of some W32 and X C functions.
* src/w32fns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog):
* src/xfns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog): Sync docs between w32 and X.
Jay Belanger [Sun, 24 Oct 2010 22:37:44 +0000 (17:37 -0500)]
calc.texi: Use emacsver.texi to determine Emacs version.
Gnus developers [Sun, 24 Oct 2010 22:32:38 +0000 (22:32 +0000)]
Merge changes made in Gnus trunk.
message.el (message-default-headers): Fix type.
nnimap.el (nnimap-request-head, nnimap-request-move-article): Make internal nnimap moving slightly faster.
nnimap.el (nnimap-transform-headers): Don't bug out on bodiless articles.
nnimap.el (nnimap-send-command): Have no outstanding messages if the IMAP server doesn't support streaming.
nnimap.el (nnimap-transform-headers): Fold {quoted} strings more sloppily.
Glenn Morris [Sun, 24 Oct 2010 22:07:06 +0000 (15:07 -0700)]
ChangeLog fix.
Glenn Morris [Sun, 24 Oct 2010 22:04:45 +0000 (15:04 -0700)]
Move some more shared x-, w32- things to common-win.
* term/ns-win.el (x-select-text): Doc fix.
* w32-fns.el (x-alternatives-map, x-setup-function-keys)
(x-select-text): Move to term/common-win.
* term/w32-win.el (xw-defined-colors): Move to common-win.
* term/x-win.el (xw-defined-colors, x-alternatives-map)
(x-setup-function-keys, x-select-text): Move to common-win.
* term/common-win.el (x-select-text, x-alternatives-map)
(x-setup-function-keys, xw-defined-colors): Merge x- and w32-
definitions here.
T.V. Raman [Sun, 24 Oct 2010 21:44:53 +0000 (17:44 -0400)]
Fix 2010-10-10 keymap fixes.
* net/mairix.el (mairix-searches-mode-map):
* mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
Chong Yidong [Sun, 24 Oct 2010 21:37:38 +0000 (17:37 -0400)]
Merge changes from emacs-23 branch.
Chong Yidong [Sun, 24 Oct 2010 21:36:09 +0000 (17:36 -0400)]
Merge changes from emacs-23
Chong Yidong [Sun, 24 Oct 2010 21:05:11 +0000 (17:05 -0400)]
* xterm.c (x_connection_closed): Kill Emacs unconditionally.
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 20:47:22 +0000 (22:47 +0200)]
Regenerated.
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 20:46:17 +0000 (22:46 +0200)]
* configure.in: Remove the BROKEN annotation from gnutls.
Chong Yidong [Sun, 24 Oct 2010 18:43:31 +0000 (14:43 -0400)]
Merge read-color and facemenu-read-color (Bug#7242).
* lisp/facemenu.el (facemenu-read-color): Alias for read-color.
(facemenu-set-foreground, facemenu-set-background): Use
read-color.
* lisp/faces.el (read-color): Use the completion code from
facemenu-read-color. Require match in completion. Doc fix.
* lisp/frame.el (set-background-color, set-foreground-color)
(set-cursor-color, set-mouse-color, set-border-color): Use
read-color.
Leo Liu [Sun, 24 Oct 2010 17:24:24 +0000 (13:24 -0400)]
Use recursive-trash feature for eshell deletion (Bug#7011).
* lisp/eshell/em-unix.el (eshell-remove-entries): Use the TRASH
argument of delete-file and delete-directory (Bug#7011).
Jim Meyering [Sun, 24 Oct 2010 16:00:57 +0000 (12:00 -0400)]
* emacs.c (argmatch): Don't treat "--" as "--chdir".
Chong Yidong [Sun, 24 Oct 2010 15:46:21 +0000 (11:46 -0400)]
* package.el (package-menu-mode-map): Inherit from button-buffer-map.
Chong Yidong [Sun, 24 Oct 2010 15:39:32 +0000 (11:39 -0400)]
Fix last commit.
Chong Yidong [Sun, 24 Oct 2010 15:37:21 +0000 (11:37 -0400)]
Make the *Packages* buffer read-only.
* emacs-lisp/package.el (package--generate-package-list): Make the
*Packages* buffer read-only.
Alan Mackenzie [Sun, 24 Oct 2010 15:27:37 +0000 (15:27 +0000)]
progmodes/cc-fonts.el (c-font-lock-declarations): Cache the result of
`c-beginning-of-decl-1' between invocations of a lambda function (Bug
#7265).
Gnus developers [Sun, 24 Oct 2010 09:55:56 +0000 (09:55 +0000)]
gnus-sum.el (gnus-summary-select-article): Make sure we have the original article buffer live.
gnus-sum.el (gnus-summary-select-article-buffer): Mention gnus-widen-article-buffer.
shr.el (shr-tag-object): Added.
nnir.el, gnus-group.el: Make nnir work by default.
gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the group isn't covered by the agent.
gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the backend for unknown groups.
gnus-html.el (gnus-html-prefetch-images): Decode entities before prefetching images.
Daiki Ueno [Sun, 24 Oct 2010 03:12:17 +0000 (12:12 +0900)]
Try to use "gpg2" if "gpg" isn't available.
* epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
executable is not available on the system (Bug#7268).
Glenn Morris [Sun, 24 Oct 2010 02:22:43 +0000 (19:22 -0700)]
Sync docs of selection-coding-system between C and Lisp.
* src/w16select.c (syms_of_win16select) <selection-coding-system>:
* src/w32select.c (syms_of_w32select) <selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (selection-coding-system): Sync doc with C versions.
Glenn Morris [Sun, 24 Oct 2010 02:13:37 +0000 (19:13 -0700)]
Sync Lisp and C docs of next-selection-coding-system.
* src/w16select.c (syms_of_win16select) <next-selection-coding-system>:
* src/w32select.c (syms_of_w32select) <next-selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (next-selection-coding-system): Sync doc with C versions.
Glenn Morris [Sun, 24 Oct 2010 01:57:21 +0000 (18:57 -0700)]
Reduce duplicate definitions of x-select-enable-clipboard from 3 to 2.
* lisp/w32-vars.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard): Move to common-win.
* lisp/term/common-win.el (x-select-enable-clipboard): Move here.
Glenn Morris [Sun, 24 Oct 2010 01:48:39 +0000 (18:48 -0700)]
Remove duplicate definition of tty-defined-color-alist.
* src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
Lisp version.
* lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate
definition of C variable.
Glenn Morris [Sun, 24 Oct 2010 01:22:37 +0000 (18:22 -0700)]
Sync X and MS-Windows docs for x-use-underline-position-properties.
* src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
Sync doc with the xterm.c version.
Glenn Morris [Sun, 24 Oct 2010 01:15:43 +0000 (18:15 -0700)]
Sync X and MS-Windows docs of x-toolkit-scroll-bars.
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
Glenn Morris [Sun, 24 Oct 2010 00:58:22 +0000 (17:58 -0700)]
Avoid redefining some C defcustoms.
* lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Don't redefine things that are defined in C.
* lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag.
(show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Set up the appropriate custom properties.
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 00:29:21 +0000 (00:29 +0000)]
gnus-group.el (gnus-group-completing-read): Remove all newlines from group names. They mess up the group buffer badly.
shr.el (shr-tag-strong): Added.
Chong Yidong [Sun, 24 Oct 2010 00:21:59 +0000 (20:21 -0400)]
Bind "C-c ]" to block-closing commands in several modes.
Bind "C-c ]" to ...
* progmodes/f90.el (f90-mode-map): ... f90-insert-end.
* nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
* textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
Glenn Morris [Sat, 23 Oct 2010 21:58:18 +0000 (14:58 -0700)]
* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
say what it was.
Otherwise someone is going to report the same meaningless bug for the
rest of time.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5574
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5576
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7272
Glenn Morris [Sat, 23 Oct 2010 21:21:49 +0000 (14:21 -0700)]
* src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:19:02 +0000 (14:19 -0700)]
* src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:16:39 +0000 (14:16 -0700)]
* src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.